package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;

//封装查询对象中相同的参数
@Getter
@Setter
public class QueryObject {

	private int page = 1;
	private int rows = 10;

	public int getStartIndex() {
		return (page - 1) * rows;
	}
}
